Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
filtre con req.query y tuve: "error_message": "Clave \"name\" requerida pero no presente". en CARTERO

Hola, tuve este error desde ayer y no pude resolverlo. No sabía el problema donde: el error: "error_message": "Clave" nombre "requerida pero no presente". en POSTMAN el código:

// ``` rutas :

 app.get('/v1/sites/:site_id/balise', blueprintValidator.uriValidator, baliseController.getByBaliseName.bind(baliseController), sendJSON

)``` // controlador de baliza:

 const baliseName = req.query.name console.log(baliseName) try { const balise = await Balise.getByName(baliseName) if (!balise) { return next(new ResourceNotFoundError(req, res, 'No balise found for this name.')) } res.locals.data = balise next() } catch (next) { } }``` // balise - model : ```Balise.getByName = async function (baliseName) { console.log('aabbab') return await new Balise({ name: baliseName }).fetch() }``` // balise - doc file : ## Filter balises [/v1/sites/{site_id}/balise{?name}] + Parameters + site_id: `` (integer) ... id of the Site + name: `` (string) ### balise [GET] + Response 200 (application/json) JSON representation of Balise Collection Resource. The Balise resources in collections are embedded. + Body { "id": 2, "equipment_id": 1, "name": "Balise2", "operating_mode": "IN", "power_ble": 40, "latitude": 45.718416666667, "longitude": 5.0804166666667 }
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!